package com.dhcy.mqtt.model;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;



@Data
@ApiModel(value="操作日志实体类",reference ="操作日志实体类" )
public class OperationLog {
   @TableId(value = "id", type = IdType.AUTO)
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer id;
   @ApiModelProperty(value="备注",dataType = "String ",example = "")
   private String message;
   @ApiModelProperty(value="创建用户",dataType = "String ",example = "")
   private String createUser;
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   @ApiModelProperty(value="创建时间",dataType = "Date ",example = "")
   private Date createTime;

}
